home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP Products & Services 1994 Summer
/
NeXTSTEP Products & Services 1994 Summer.iso
/
AlembicDemo.app
/
NetWatch
/
NetWatch
/
PagerScript
< prev
Wrap
Text File
|
1993-04-27
|
824b
|
29 lines
#! /bin/sh -
# This script uses C-Kermit 5A(170) ALPHA, 23 Apr 91, NeXT.
# It was tested using a Telebit T2500, which is Hayes compatible.
echo $PAGERSTRING
# It would be better to run kermit using a pty.
/usr/local/bin/kermit -b 19200 >&- 2>&- << EOF
#/usr/local/bin/kermit -b 19200 << EOF
set line /dev/cua ; rts/cts is not supported in this kermit.
if failure quit
# Connect with modem.
set count 8
:reset
if not count goto abort
output atz\13 ; Reset modem.
input 2 > ; Wait for modem prompt.
if failure goto reset
# The codes '@' (wait for silence) and ';' (end dialing) may or may not be
# available on your modem. Replace 321-2333 with the number you want to
# appear on the pager.
output atdt$PAGERSTRING,@321-2333#;H\13
if failure quit
pause 30
quit
EOF